package com.credit.util;

public class PasswordUtil {
	// 6-18 位字母、数字、字符
	private static String regex = "^([A-Z]|[a-z]|[0-9]|[`~!@#$%^&*()+=|{}':;',\\\\[\\\\].<>/?~！@#￥%……&*（）——+|{}【】‘；：”“'。，、？]){6,18}$";
	
	public static boolean checkPassword(String password){
		if(password.matches(regex)){
			return true;
		}
		return false;
	}

}
